package com.wcy.service.impl;

import com.wcy.bean.City;
import com.wcy.mapper.CityMapper;
import com.wcy.service.ICityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wcy
 * @since 2021-04-29
 */
@Service
public class CityServiceImpl extends ServiceImpl<CityMapper, City> implements ICityService {

    @Autowired
    private CityMapper mapper;

    @Override
    public List<City> getCityList(Integer pid) {
        return mapper.getCityList(pid);
    }
}
